/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bgIntlgn.client.entity.privilege;

import yuhuibear.poat.annotations.relation.Field;
import yuhuibear.poat.annotations.relation.Table;
import yuhuibear.poat.object.bean.Bean;

/**
 *
 * @author yuhuibear
 */
@Table(name = "role_skills", constrain = "")
public class RoleSkill implements Bean {

    @Field(name = "role_name", type = "char(40)", constrain = "not null references roles(name) on update cascade on delete cascade ")
    private String roleName;
    @Field(name = "skill_name", type = "char(40)", constrain = "not null references skills(name) on update cascade on delete cascade")
    private String skillName;

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName.trim();
    }

    public String getSkillName() {
        return skillName;
    }

    public void setSkillName(String skillName) {
        this.skillName = skillName.trim();
    }
}
